export default {
    title: {
      text: '近一周新增关注人员'
    },
    tooltip: {
      trigger: 'item',
      formatter: '{a} <br/>{b}: {c} ({d}%)'
    },
    legend: {
      orient: 'vertical',
      x: 'left',
      y: '30px',
      data: ['美国', '台湾', '日本', '韩国']
    },
    series: [
      {
        name: '访问来源',
        type: 'pie',
        radius: ['30%', '70%'],
        avoidLabelOverlap: false,
        label: {
          normal: {
            show: true,
            position: 'inside',
            formatter: '{c}'
          },
          emphasis: {
            show: true,
            textStyle: {
              fontSize: '30',
              fontWeight: 'bold'
            }
          }
        },
        labelLine: {
          normal: {
            show: false
          }
        },
        data: [
          { value: 335, name: '美国' },
          { value: 310, name: '台湾' },
          { value: 234, name: '日本' },
          { value: 1548, name: '韩国' }
        ]
      }
    ]
  }